<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>$!store.store_name - Powered by wemall</title>
<meta name="keywords" content="$!store.store_seo_keywords" />
<meta name="description" content="$!store.store_seo_description" />
<meta name="generator" content="wemall 2.0" />
<meta name="author" content="www.wemall.com">
<meta name="copyright" content="wemall Inc. All Rights Reserved">
<link href="$!webPath/resources/style/system/front/default/css/public.css" type="text/css" rel="stylesheet" />
<link href="$!webPath/resources/style/shop/$!{store.template}/css/default.css" type="text/css" rel="stylesheet" />
<link href="$!webPath/resources/style/common/css/overlay.css" type="text/css" rel="stylesheet" />
<script src="$!webPath/resources/js/jquery-1.8.3.min.js"></script>
<script src="$!webPath/resources/js/jquery-ui-1.8.21.js"></script>
<script src="$!webPath/resources/js/jquery.lazyload.js"></script>
<script src="$!webPath/resources/js/jcarousellite_1.0.1.min.js"></script>
<script src="$!webPath/resources/js/jquery.shop.common.js"></script>
<script src="$!webPath/resources/js/jquery.validate.min.js"></script>
<script>
jQuery(document).ready(function(){
  jQuery(".smallgoods .goodsimgs img").lazyload({effect:"fadeIn",width:178,height:170});
  jQuery(".bigshopimg .img1").addClass("this");
  //
  jQuery(".bigshopimg").jCarouselLite({
	 btnGo:[".img1",".img2",".img3",".img4",".img5"],
	 auto: 3000,
	 speed: 600,
	 vertical:false,
	 visible:1,
	 start:1,
	 afterEnd:function(a){
	  var index=jQuery(a[0]).index();
	  #if($!{store.slides.size().size()}>0)
	  if(index>$!{store.slides.size()})index=1;
	  #else
	  if(index>4)index=1;
	  #end
	  jQuery(".bigshopimg a").removeClass("this");
	  jQuery(".bigshopimg .img"+index).addClass("this");
	 }
  });
});
</script>
</head>
<body>
$!httpInclude.include("/top.htm") 
$!httpInclude.include("/store_head.htm?store_id=$!{store.id}")
  #set($banner="$!webPath/resources/style/shop/$!{store.template}/images/banner.jpg")
  #if($!store.store_banner)
    #set($banner="$!webPath/$!store.store_banner.path/$!store.store_banner.name")
  #end
<div class="banner_width">
  <div class="shopbanner"><img src="$!banner" width="1200px" /></div>
</div>
<div class="nav_width">
  <div class="main">
   <div class="nav_bg">
    <div class="shopnav">
      $!httpInclude.include("/store_nav.htm?id=$!store.id")
      <script>
     jQuery(".shopnavul li").each(function(){
	     var nav_id=jQuery(this).attr("id");
         if(nav_id=="$!{nav_id}"){
		   jQuery(this).addClass("this");
		 }else jQuery(this).removeClass("this");
	 });
    </script>
      <div class="shopnavs"></div>
    </div>
    </div>
  </div>
  <div class="navbotm"></div>
</div>
<div class="main">
  <div class="shop">
    <div class="shop_index"> $!httpInclude.include("/store_left.htm?id=$!store.id")
      <div class="shopindex_right">
        <div class="bigshopimg"> #if($store.slides.size()>0)
          <ul class="shopslider">
            #foreach($slide in $store.slides)
            <li><a href="$!slide.url" target="_blank"><img src="$!imageWebServer/$!slide.acc.path/$!slide.acc.name" width="797" height="393" /></a></li>
            #end
          </ul>
          <span style="z-index:3;">#foreach($slide in $store.slides)<a href="javascript:void(0);" class="img$!{velocityCount}">$!{velocityCount}</a>#end</span> #else
          <ul class="shopslider">
            <li><a href="#" target="_blank"><img src="$!imageWebServer/resources/style/common/images/slide1.jpg" width="797" height="393" /></a></li>
            <li><a href="#" target="_blank"><img src="$!imageWebServer/resources/style/common/images/slide2.jpg" width="797" height="393" /></a></li>
            <li><a href="#" target="_blank"><img src="$!imageWebServer/resources/style/common/images/slide3.jpg" width="797" height="393" /></a></li>
            <li><a href="#" target="_blank"><img src="$!imageWebServer/resources/style/common/images/slide4.jpg" width="797" height="393" /></a></li>
          </ul>
          <span style="z-index:3;"><a href="javascript:void(0);" class="img1">1</a><a href="javascript:void(0);" class="img2">2</a><a href="javascript:void(0);" class="img3">3</a><a href="javascript:void(0);" class="img4">4</a></span> #end </div>
        <div class="regoods">
          <h1><a href="$!webPath/goods_list.htm?store_id=$!{store.id}&recommend=true">更多</a><span>推荐商品</span></h1>
          <div class="smallgoods"> #foreach($goods in $goods_recommend)
            #if($!goods.goods_main_photo)
            #set($img="$!imageWebServer/$!{goods.goods_main_photo.path}/$!{goods.goods_main_photo.name}")
            #else
            #set($img="$!imageWebServer/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
            #end
            <ul>
              <li class="goodsimgs"><span class="goods_sp_span">
                <p><a href="$!webPath/goods_$!{goods.id}.htm" target="_blank"><img src="$!imageWebServer/resources/style/common/images/loader.gif" original="$!img" onerror="this.src='$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}';" width="28" height="28"/></a></p>
                </span></li>
              <li class="goodslook"><a href="$!webPath/goods_$!{goods.id}.htm" target="_blank" class="look">查看详情</a><strong>¥$!goods.store_price</strong></li>
              <li class="goodsnames"><a href="$!webPath/goods_$!{goods.id}.htm" target="_blank">$!CommUtil.substring("$!goods.goods_name",28)</a></li>
              <li class="recentgoodsok">最近成交<strong>$!goods.goods_salenum</strong>笔</li>
            </ul>
            #end </div>
        </div>
        <div class="regoods">
          <h1><a href="$!webPath/goods_list.htm?store_id=$!{store.id}">更多</a><span>新品上市</span></h1>
          <div class="smallgoods"> #foreach($goods in $goods_new)
            #if($!goods.goods_main_photo)
            #set($img="$!imageWebServer/$!{goods.goods_main_photo.path}/$!{goods.goods_main_photo.name}")
            #else
            #set($img="$!imageWebServer/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
            #end
            <ul>
              <li class="goodsimgs"><span class="goods_sp_span">
                <p><a href="$!webPath/goods_$!{goods.id}.htm" target="_blank"><img src="$!imageWebServer/resources/style/common/images/loader.gif" original="$!img" onerror="this.src='$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}';" width="28" height="28"/></a></p>
                </span></li>
              <li class="goodslook"><a href="$!webPath/goods_$!{goods.id}.htm" target="_blank" class="look">查看详情</a><strong>¥$!goods.store_price</strong></li>
              <li class="goodsnames"><a href="$!webPath/goods_$!{goods.id}.htm" target="_blank">$!CommUtil.substring("$!goods.goods_name",28)</a></li>
              <li class="recentgoodsok">最近成交<strong>$!goods.goods_salenum</strong>笔</li>
            </ul>
            #end </div>
        </div>
      </div>
    </div>
  </div>
  $!httpInclude.include("/footer.htm") </div>
</body>
</html>
